package rm.ep.shared;

import com.googlecode.objectify.annotation.Parent;
import com.googlecode.objectify.annotation.Unindexed;

@SuppressWarnings("serial")
public class LogEntity extends AbstractEntity {

	@Unindexed
	private String fStaff;
	
	@Unindexed
	private String fComment;
	
	@Parent
	private com.google.appengine.api.datastore.Key fParent;
	
	protected LogEntity() {
	}
	
	public LogEntity(String staff, String comment, 
			com.google.appengine.api.datastore.Key parent) {
		// internal entity - validation should be guaranteed
		fStaff = staff;
		fComment = comment;
		fParent = parent;
	}
	
	public final String getStaff() {
		return fStaff;
	}
	
	public final String getComment() {
		return fComment;
	}
	
	public final com.google.appengine.api.datastore.Key getParent() {
		return fParent;
	}
	
}
